package com.base.service.impl;

import com.base.mapper.voipmapper.JpushIdMapper;
import com.base.po.voip.JpushId;
import com.base.po.voip.JpushIdExample;
import com.base.service.JpushIdService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("jpushIdService")
public class JpushIdServiceImpl implements JpushIdService {

    @Autowired
    private JpushIdMapper jpushIdMapper;


    @Override
    public int countByExample(JpushIdExample example) {
        return jpushIdMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(JpushIdExample example) {
        return jpushIdMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return jpushIdMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(JpushId record) {
        return jpushIdMapper.insert(record);
    }

    @Override
    public int insertSelective(JpushId record) {
        return jpushIdMapper.insertSelective(record);
    }

    @Override
    public List<JpushId> selectByExample(JpushIdExample example) {
        return jpushIdMapper.selectByExample(example);
    }

    @Override
    public List<JpushId> selectAll() {
        return jpushIdMapper.selectAll();
    }

    @Override
    public JpushId selectByPrimaryKey(Integer id) {
        return jpushIdMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<JpushId> selectByUserID(String userid) {
        return jpushIdMapper.selectByUserID(userid);
    }

    @Override
    public int updateByExampleSelective(JpushId record, JpushIdExample example) {
        return jpushIdMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(JpushId record, JpushIdExample example) {
        return jpushIdMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(JpushId record) {
        return jpushIdMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(JpushId record) {
        return jpushIdMapper.updateByPrimaryKey(record);
    }
}
